package com.tempjob.common.businesss.mongo.entity;

import com.anwen.mongo.annotation.ID;
import com.anwen.mongo.annotation.collection.CollectionField;
import com.anwen.mongo.annotation.collection.CollectionName;
import com.anwen.mongo.enums.IdTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 教育经历
 *
 * @author hui
 * @Date 2024/12/2 23:12
 **/
@CollectionName(value = "user_difficult_prove")
@Data
public class UserDifficultProve {

    @ID(type = IdTypeEnum.OBJECT_ID)
    @CollectionField("_id")
    private String id;

    @CollectionField("user_id")
    @ApiModelProperty("用户id")
    private String userId;

    @CollectionField("prove_img")
    @ApiModelProperty("就业困难证书照片")
    private List<String> proveImg;

    @ApiModelProperty("描述")
    @CollectionField("prove_desc")
    private String proveDesc;

}
